import App from './App'
import io from 'components/weapp.socket.io.js'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'

// Vue.prototype.socket = io('http://127.0.0.1:8082')
Vue.prototype.socket = io('http://134.175.230.195:3000')



const app = new Vue({
    ...App,
	// created() {
	// 	Vue.prototype.$bus = this // 全局事件总线
	// }
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif